home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000034_simon@lia.di.epfl.ch_Thu Oct 7 15:14:21 1993.msg < prev    next >
Internet Message Format  |  1994-10-11  |  3KB

  1. Received: from liasun6.epfl.ch by cs.umb.edu with SMTP id AA05096
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 7 Oct 1993 15:14:21 -0400
  3. Received: by liasun6.epfl.ch (Smail3.1.28.1 #52)
  4.     id m0ol0Pf-0002QtC; Thu, 7 Oct 93 19:50 MET
  5. Message-Id: <m0ol0Pf-0002QtC@liasun6.epfl.ch>
  6. Date: Thu, 7 Oct 93 19:50 MET
  7. From: simon@lia.di.epfl.ch (Simon Leinen)
  8. To: tex-k@cs.umb.edu
  9. Subject: configure and Makefile problems (patches for xdvik-1.2)
  10.  
  11. *** xdvik/Makefile.in    1993/10/06 17:04:11    1.1
  12. --- xdvik/Makefile.in    1993/10/07 15:20:44
  13. ***************
  14. *** 74,78 ****
  15.   
  16.   # Do not override CPPFLAGS; change CFLAGS or DEFS instead.
  17. ! CPPFLAGS = $(XCPPFLAGS) -I$(srcdir) -I$(kpathsea_parent) $(xincludedir) $(DEFS)
  18.   .c.o:
  19.       $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  20. --- 74,78 ----
  21.   
  22.   # Do not override CPPFLAGS; change CFLAGS or DEFS instead.
  23. ! CPPFLAGS = $(XCPPFLAGS) -I. -I.. -I$(srcdir) -I$(srcdir)/.. $(xincludedir) $(DEFS)
  24.   .c.o:
  25.       $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  26. ***************
  27. *** 85,89 ****
  28. --- 85,91 ----
  29.   # something in it and recompile from the package directory.
  30.   kpathsea_parent = ..
  31. + kpathsea_srcdir_parent = $(srcdir)/..
  32.   kpathsea_dir = $(kpathsea_parent)/kpathsea
  33. + kpathsea_srcdir = $(kpathsea_srcdir_parent)/kpathsea
  34.   kpathsea = $(kpathsea_dir)/kpathsea.a
  35.   
  36. ***************
  37. *** 118,122 ****
  38.   
  39.   makeargs = $(MFLAGS) SHELL='$(SHELL)' CC='$(CC)' CFLAGS='$(CFLAGS)' \
  40. !   srcdir=$(srcdir) $(MAKEARGS)
  41.   
  42.   program = xdvi
  43. --- 120,124 ----
  44.   
  45.   makeargs = $(MFLAGS) SHELL='$(SHELL)' CC='$(CC)' CFLAGS='$(CFLAGS)' \
  46. !   $(MAKEARGS)
  47.   
  48.   program = xdvi
  49. ***************
  50. *** 127,135 ****
  51.       $(CC) $(LDFLAGS) -o $(program) $(objects) $(LOADLIBES)
  52.   
  53. ! $(kpathsea): $(kpathsea_dir)/*.c $(kpathsea_dir)/*.h
  54. !     cd $(kpathsea_dir); $(MAKE) $(makeargs)
  55.   
  56.   xdvi.1: xdvi.man sedscript
  57. !     sed -f sedscript < xdvi.man > xdvi.1
  58.   
  59.   sedscript: mksedscript
  60. --- 129,137 ----
  61.       $(CC) $(LDFLAGS) -o $(program) $(objects) $(LOADLIBES)
  62.   
  63. ! $(kpathsea): $(kpathsea_srcdir)/*.c $(kpathsea_srcdir)/*.h
  64. !     cd $(kpathsea_dir); $(MAKE) $(makeargs) srcdir=$(kpathsea_srcdir)
  65.   
  66.   xdvi.1: xdvi.man sedscript
  67. !     sed -f sedscript < $(srcdir)/xdvi.man > xdvi.1
  68.   
  69.   sedscript: mksedscript
  70. ***************
  71. *** 197,201 ****
  72.   configure_in = $(srcdir)/configure.in $(srcdir)/../kpathsea/common.ac
  73.   $(srcdir)/configure: $(configure_in) $(autoconf)
  74. !     cd $(srcdir); autoconf
  75.   
  76.   config.status: $(srcdir)/configure
  77. --- 199,203 ----
  78.   configure_in = $(srcdir)/configure.in $(srcdir)/../kpathsea/common.ac
  79.   $(srcdir)/configure: $(configure_in) $(autoconf)
  80. !     cd $(srcdir); ./autoconf
  81.   
  82.   config.status: $(srcdir)/configure